/*
package com.web.common.config;

import com.web.common.filter.xss.XssFilter;
import org.springframework.boot.web.servlet.FilterRegistrationBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import javax.servlet.Filter;
*/
/**
 * @author zhang-rongyao
 * @version V 1.0
 * @Package com.web.common.config
 * @date 2021/2/22/022 14:16
 *//*

@Configuration
public class XSSFilterConfig {

    @Bean
    public FilterRegistrationBean filterRegistrationBean() {
        FilterRegistrationBean registration = new FilterRegistrationBean();
        registration.setFilter(xssFilter());
        registration.addUrlPatterns("/*");
        registration.addInitParameter("paramName", "paramValue");
        registration.setName("xssFilter");
        return registration;
    }

    */
/**
     * 开启Xss
     *
     * @return
     *//*

    @Bean(name = "xssFilter")
    public Filter xssFilter() {
        return new XssFilter();
    }
}
*/
